package my.rest.resources.dm;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import my.rest.resources.dao.VehicleModelInfoDao;
import my.rest.resources.model.VehicleModelInfo;

public class VehicleModelInfoDataManagerImpl implements VehicleModelInfoDataManager {

	Logger logger = LoggerFactory.getLogger(getClass());

	/**
	 * @see my.rest.resources.dm.VehicleModelInfoDataManager#retrieveInfo(java.lang.String)
	 */
	public VehicleModelInfo retrieveInfo(String model){
		logger.debug("model {}", model);
		VehicleModelInfo info = VehicleModelInfoDao.instance.getInfo().get(model);
		logger.debug("info {}", info);
		return info;
	}
	
}
